package yzserver.sx4a.domain;


import yzserver.sx4a.form.Job;

/**
 * Created with IntelliJ IDEA.
 * User: andrew
 * Date: 14-8-15
 * Time: 上午10:20
 * To change this template use File | Settings | File Templates.
 */
public class JobDomain {
    private String JOBID ;//职务ID
    private String JOBNAME;//职务名称
    private String JOBPARENT;//父职务ID
    private String OPUSER;//操作人
    private String ENABLE;//职务状态（0是有效，1是失效）
    private String STARTDATE;//生效时间yyyy-MM-dd 如2010-03-08
    private String ENDDATE;//失效时间yyyy-MM-dd 如2010-03-08
    private String UPDATEDATE;//更新时间yyyy-MM-dd HH:mm:ss，
    private String ATTR1;//职务级别编码

    public JobDomain() {

    }
    public JobDomain(Job job) {
        this.JOBID = job.getJobid();
        this.JOBNAME= job.getJobname();
        this.JOBPARENT= job.getJobparent();
        this.OPUSER= job.getOpuser();
        this.ENABLE= job.getEnable();
        this.STARTDATE= job.getStartdate();
        this.ENDDATE= job.getEnddate();
        this.UPDATEDATE= job.getUpdatedate();
        this.ATTR1= job.getAttr1();
    }

    public String getJOBID() {
        return JOBID;
    }

    public void setJOBID(String JOBID) {
        this.JOBID = JOBID;
    }

    public String getJOBNAME() {
        return JOBNAME;
    }

    public void setJOBNAME(String JOBNAME) {
        this.JOBNAME = JOBNAME;
    }

    public String getJOBPARENT() {
        return JOBPARENT;
    }

    public void setJOBPARENT(String JOBPARENT) {
        this.JOBPARENT = JOBPARENT;
    }

    public String getOPUSER() {
        return OPUSER;
    }

    public void setOPUSER(String OPUSER) {
        this.OPUSER = OPUSER;
    }

    public String getENABLE() {
        return ENABLE;
    }

    public void setENABLE(String ENABLE) {
        this.ENABLE = ENABLE;
    }

    public String getSTARTDATE() {
        return STARTDATE;
    }

    public void setSTARTDATE(String STARTDATE) {
        this.STARTDATE = STARTDATE;
    }

    public String getENDDATE() {
        return ENDDATE;
    }

    public void setENDDATE(String ENDDATE) {
        this.ENDDATE = ENDDATE;
    }

    public String getUPDATEDATE() {
        return UPDATEDATE;
    }

    public void setUPDATEDATE(String UPDATEDATE) {
        this.UPDATEDATE = UPDATEDATE;
    }

    public String getATTR1() {
        return ATTR1;
    }

    public void setATTR1(String ATTR1) {
        this.ATTR1 = ATTR1;
    }
}
